package com.itheima.six;

public class Dog extends Animal implements Swim{
    public Dog() {
    }

    public Dog(String age) {
        super(age);
    }

    @Override
    public void eat() {
        System.out.println("啃骨头");
    }

    @Override
    public void swimming() {
        System.out.println("狗刨式游泳");
    }
}
